//
//  HomeCityCollectionViewCell.m
//  AnProject
//
//  Created by edianzu on 2017/5/24.
//  Copyright © 2017年 Answern. All rights reserved.
//

#import "HomeCityCollectionViewCell.h"

@implementation HomeCityCollectionViewCell
- (instancetype)initWithFrame:(CGRect)frame
{
    if(self = [super initWithFrame:frame])
    {
        _label = [UILabel new];
        _label.textColor = ColorFrom16(0x8d8d8d);
        _label.textAlignment = 1;
        _label.layer.backgroundColor = ColorFrom16(0xffffff).CGColor;
        _label.layer.borderWidth = 1;
        _label.layer.borderColor = ColorFrom16(0xFEDE6D).CGColor;
        _label.font = PFRFONT(15);
        [self addSubview:_label];
        [_label mas_makeConstraints:^(MASConstraintMaker *make) {
            make.top.equalTo(self);
            make.left.equalTo(self).offset(10);
            make.right.equalTo(self).offset(-10);
            make.bottom.equalTo(self);
        }];
    }
    return self;
}
@end
